package request

type ReleaseCommentReq struct {
	GoodsId  uint   ` form:"goods_id" json:"goods_id" binding:"required"`   // 商品id
	UserId   uint   ` form:"user_id" json:"user_id" binding:"required"`     // 用户id
	Content  string ` form:"content" json:"content" binding:"required"`     // 评论内容
	FatherId uint   ` form:"father_id" json:"father_id" binding:"required"` // 父级id
}
type ListCommentReq struct {
	Id       uint   ` form:"id" json:"id" binding:"required"`
	GoodsId  uint   ` form:"goods_id" json:"goods_id" binding:"required"`   // 商品id
	UserId   uint   ` form:"user_id" json:"user_id" binding:"required"`     // 用户id
	Content  string ` form:"content" json:"content" binding:"required"`     // 评论内容
	FatherId uint   ` form:"father_id" json:"father_id" binding:"required"` // 父级id
}
type DetailsCommentReq struct {
	Id      uint ` form:"id" json:"id" binding:"required"`
	GoodsId uint ` form:"goods_id" json:"goods_id" binding:"required"` // 商品id
}
type RemoveCommentReq struct {
	Id      uint ` form:"id" json:"id" binding:"required"`
	GoodsId uint ` form:"goods_id" json:"goods_id" binding:"required"` // 商品id
}
